<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <link rel="stylesheet" type="text/css" href="{$_G['addon_url']}/Public/css/weui.css" />
    <link rel="stylesheet" type="text/css" href="{$_G['addon_url']}/Public/css/weui2.css" />
    <link rel="stylesheet" type="text/css" href="{$_G['addon_url']}/Public/css/weui3.css" />
    <link rel="stylesheet" type="text/css" href="{$_G['addon_url']}/Public/css/jquery-weui.min.css"/>
    <link rel="stylesheet" type="text/css" href="{$_G['addon_url']}/Public/css/icon.css" />
    <title>{$info['nickname']}的店铺</title>
    {:hook('jssdk',false)}
    <script>
        wx.ready(function () {
            wx.onMenuShareTimeline({
                title: '{$info['nickname']}的店铺', // 分享标题
                link: '{:get_current_url()}', // 分享链接
                imgUrl: '{$config['index_imgs']}'
            });

            wx.onMenuShareAppMessage({
                title: '{$info['nickname']}的店铺', // 分享标题
                desc: '这里是个人的店铺随便你说什么', // 分享链接
                link: '{:get_current_url()}', // 分享链接
                imgUrl: '{$config['index_imgs']}', // 分享图标
                type: '', // 分享类型,music、video或link，不填默认为link
                dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
                success: function () {
                    // 用户确认分享后执行的回调函数
                },
                cancel: function () {
                    // 用户取消分享后执行的回调函数
                }
            });

        })
    </script>
    <style type="text/css">
        .thumbnails .roo {
            width: 30%;
            margin-right: 3px;
            margin-top: 3px;
        }
        .moments__post .weui_cell_hd{
            min-width: 65px;
        }
        .icon-36{
            font-size: 1.4em;
        }
        .weui_cell_bd{
            width:100%;
        }
        .thumbnails{
            width:100%;
        }
        @media screen and (max-width: 400px) {
            .roo img {
                width:87px;
                height:87px;
            }
        }
    </style>
</head>

<body>
<div class="weui-header bg-orange">
    <div class="weui-header-left">
        <a class="icon icon-109 f-white" href="javascript:history.go(-1)">返回</a>
    </div>
    <h1 class="weui-header-title"></h1>
    <div class="weui-header-right">
        <a class="icon icon-36 f-white" href="{:create_mobile_url('fabu')}"></a>
    </div>
</div>
<div class="weui_panel weui_panel_access">
    <div class="weui_panel_bd">
        <a href="javascript:void(0);" class="weui_media_box weui_media_appmsg">
            <div class="weui_media_hd">
                <img class="weui_media_appmsg_thumb circle" src="{$info['headimgurl']}" alt="">
            </div>
            <div class="weui_media_bd">
                <h4 class="weui_media_title f-blue">{$info['nickname']}</h4>
            </div>
        </a>
    </div>
</div>

<div class="weui_cells moments">
    <!-- 普通的post -->
    <volist name="data" id="val">
        <div class="weui_cell moments__post weui-border-b">
            <div class="weui_cell_hd">
                <span style="font-size: 1.5em;">{:date('d',$val['create_time'])}</span><span>{:date('m',$val['create_time'])}月</span>
            </div>
            <div class="weui_cell_bd">
                <!-- 人名链接 -->
                <!--<a class="title" href="javascript:;">
                    <span class="f-blue">我就是老大</span>
                </a>-->
                <!-- post内容 -->
                <p id="paragraph" class="paragraph">
                    {$val['describe']}
                </p>
                <!-- 相册 -->
                <div class="thumbnails">
                   <volist name="val['imgs']" id="v">
                       <div class="roo">
                           <img class="img-max" src="{$v}">
                       </div>
                   </volist>

                </div>
                <!-- 详情 -->
                <div style="padding-right: 1em;">
                    <a href="{:create_mobile_url('detail',array('id'=>$val['id']))}" class="weui-header-right" style="float: right;">详情</a>
                </div>
            </div>
            <!-- 结束 post -->
        </div>
    </volist>

</div>
</body>
<script src="{$_G['addon_url']}/Public/js/jquery-3.2.1.min.js" type="text/javascript" charset="utf-8"></script>
<script src="{$_G['addon_url']}/Public/js/jquery-weui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="{$_G['addon_url']}/Public/js/swiper.js" type="text/javascript" charset="utf-8"></script>
<!--图片放大-->
<script src="{$_G['addon_url']}/Public/js/showimg.js" type="text/javascript" charset="utf-8"></script>
</html>